package com.ITD.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("查询统计事件参数")
public class QuerySumParam {
    @ApiModelProperty(value = "事件类型id")
    private int type_id;
    @ApiModelProperty(value = "班级id")
    private String class_id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "起始时间")
    private Date happen_date_begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "终止时间")
    private Date happen_date_end;
}
